<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>007-字符串补全长度.html</title>
</head>
<body>
	
</body>
<script>
	console.log('s'.padStart(9,'abcxyz'))
	console.log('s'.padEnd(12,'abcdefghi'))

</script>
</html>